package com.cskaoyan.service;

import com.cskaoyan.bean.domain.Goods;
import com.cskaoyan.bean.goods.BasePageData;
import com.cskaoyan.bean.goods.GoodsDetailVo;
import com.cskaoyan.bean.goods.wechat.CategoryList;
import com.cskaoyan.bean.goods.wechat.CategorySearchBean;
import com.cskaoyan.bean.goods.wechat.CategoryVo;
import com.cskaoyan.bean.goods.wechat.UserOrderVo;
import org.springframework.stereotype.Service;

/**
 * @BelongProject: mall35th
 * @BelongPackage: com.cskaoyan.service
 * @Author: zijin
 * @Createtime: 2021-12-03 星期五 15:28
 * @Description: todo
 */
public interface WxUserService {
    UserOrderVo queryUserOrderMessage(Integer id);

    GoodsDetailVo queryGoodsDatails(Integer id);

    /**
     * 查询商品数量
     * @return
     */
    int queryGoodsNum();

    CategoryVo queryCategory(Integer id);

    CategoryList queryGoodsByCategory(CategorySearchBean categorySearchBean);

    BasePageData<Goods> searchRelated(Integer id);
}
